export default {
  // 登录页面国际化
  login: {
    username: 'Username',
    password: 'Password',
    login: 'Log In',
    signin: 'Sign In',
    backToLogin: 'Back to Log In',
    logOut: 'Log Out',
    welcomeToUse: 'Welcome',
    appName: 'witChainD',
    loginSuccessful: 'Login Successful',
    signinSuccessful: 'Signin Successful',
    message: {
      name: {
        nameMsg: 'The name cannot be empty.',
        required: 'Enter a name.',
        notMinThan: 'The name cannot be longer than 10 characters.',
      },
      username: {
        usernameMsg: 'The username cannot be empty.',
        required: 'Enter a username.',
        notMinThan: 'The username cannot be less than 5 characters.',
        notMaxThan: 'The username cannot be longer than 20 characters.',
        regxMsg: 'The username can contain only lowercase letters and number.',
      },
      password: {
        passwordMsg: 'The password cannot be empty.',
        required: 'Enter a password.',
        notMinThan: 'The password cannot be less than 6 characters.',
        notMaxThan: 'The password cannot be longer than 20 characters.',
        regxMsg: 'The password must contain uppercase letters, lowercase letters, and digits.',
      },
      passwd: {
        passwordMsg: 'The password cannot be empty.',
        required: 'Enter a password.',
        notMinThan: 'The password cannot be less than 6 characters.',
        notMaxThan: 'The password cannot be longer than 20 characters.',
        regxMsg: 'The password must contain uppercase letters, lowercase letters, and digits.',
      },
      email: {
        emailMsg: 'The email cannot be empty.',
        required: 'Enter an email.',
        notMinThan: 'The email  cannot be less than 5 characters.',
        notMaxThan: 'The email cannot be longer than 20 characters.',
        regxMsg: 'The email format is incorrect.',
      },
      loginTip: 'The username or password is not correct.',
      loginToken: 'The session has expired.Please login again.',
    },
  },
  langSelect: {
    message: {
      success: 'Switch Language Successful!',
    },
  },
  group: {
    myCreate: 'My Created',
    myJoin: 'My Joined',
    createTeam: 'Create Team',
    editTeam: 'Edit Team',
    pleaseInput: 'Please enter a team name.',
    public: 'Public',
    private: 'Private',
    people: 'people',
    teamName: 'Team Name',
    teamDesc: 'Team Description',
    teamSize: 'Member Count',
    teamAuth: 'Team Permission',
    isPublic: 'isPublic',
    creator: 'Creator',
    owner: 'Owner',
    createTime: 'Create Time',
    noData: 'No data.',
    teamDetail: 'Team Details',
    witchaind: 'witChainD',
    documentMnagement: 'Document',
    datasetManagement: 'Dataset',
    testingManagement: 'Testing',
    create: 'Create',
    allTeams: 'All',
    applyToJoin: 'Apply',
    quit: 'Quit',
    confirmQuit: 'Are you sure you want to quit team "{teamName}"?',
    quitSuccess: 'Successfully quit team "{teamName}"',
    quitFailed: 'Failed to quit team. Please try again.',
    notJoinedTeam: 'You have not joined this team yet. Please apply to join first.',
  },
  groupDetail: {
    memberPermission: 'Member Management',
    teamSet: 'Team Settings',
    teamNews: 'Team News',
    roleManage: 'Role/Permission',
    MemberAuthority: 'Member/Authority',
    transferTeam: 'Transfer Team',
    transfer: 'Transfer',
    transferTip: 'Transfer team ownership to other members',
    transferDialog: 'Transfer Team',
    selectReceiver: 'Select Receiver',
    pleaseSelectReceiver: 'Please select receiver',
    transferMessage: 'Transfer team ownership to other members',
    dissolveTeam: 'Dissolve Team',
    dissolve: 'Dissolve',
    dissolveTip:
      'After the team is disbanded, all related resources will be released. Please operate with caution.',
    updateTeamTip: 'The team update was successful.',
    confirmDissolve:
      'After disbanding the 【{name}】 team, all the projects under the team will be deleted synchronously and cannot be recovered! Please operate with caution.',
    team: 'Team ',
    dissolveSuccess: ' dissolved successfully.',
    createTeamSuccess: 'Team created successfully.',
    updateTeamSuccess: 'Team updated successfully.',
    inviteMember: 'Invite Member',
    placeholderMember: 'Enter member ID/name',
    memberId: 'Member ID',
    memberName: 'Member Name',
    roleAuth: 'Role',
    // Role management related
    createRole: 'Create Role',
    batchDeleteRole: 'Batch Delete',
    roleFilter: 'Enter role name',
    roleName: 'Role Name',
    permissionAssignment: 'Permission Assignment',
    createTime: 'Create Time',
    operation: 'Operation',
    editRole: 'Edit',
    deleteRole: 'Delete',
    // Member management related
    batchDeleteMember: 'Batch Delete',
    memberFilter: 'Enter member ID/name',
    editMember: 'Edit',
    deleteMember: 'Delete',
    // Role dialog
    newRole: 'Create Role',
    editRoleTitle: 'Edit Role',
    roleNamePlaceholderEdit: 'Role name',
    roleNamePlaceholderNew: 'Custom role',
    permissionAllocation: 'Permission Allocation',
    restoreDefault: 'Restore Default',
    reset: 'Reset',
    teamPermission: 'Team',
    assetPermissions: 'Asset',
    knowledgePermission: 'Knowledge',
    documentPermission: 'Document',
    datasetPermission: 'Dataset',
    testingPermission: 'Testing',
    evaluationPermissions: 'Evaluation',
    modifyTeamInfo: 'Modify team info',
    inviteMembers: 'Invite members',
    manageRoles: 'Manage roles',
    createKnowledge: 'Create knowledge',
    editKnowledge: 'Edit knowledge',
    deleteKnowledge: 'Delete knowledge',
    uploadDocument: 'Upload document',
    editDocument: 'Edit document',
    deleteDocument: 'Delete document',
    createDataset: 'Create dataset',
    editDataset: 'Edit dataset',
    deleteDataset: 'Delete dataset',
    createTesting: 'Create testing',
    editTesting: 'Edit testing',
    deleteTesting: 'Delete testing',
    // Role dialog related
    newRoleDialog: 'Create Role',
    editRoleDialog: 'Edit Role',
    roleNameLabel: 'Role Name',
    roleNamePlaceholder: 'Custom role',
    permissionConfig: 'Permission Config',
    resetToDefault: 'Restore Default',
    resetToInitial: 'Reset',
    roleCreateSuccess: 'Role created successfully',
    roleEditSuccess: 'Role edited successfully',
    roleCreateFailed: 'Role creation failed',
    roleEditFailed: 'Role edit failed',
    roleNameRequired: 'Please enter role name',
    roleNameLength: 'Role name length should be 1-20 characters',
    // Specific permission items
    permModifyTeamInfo: 'Modify team info',
    permInviteMembers: 'Invite members',
    permManageRoles: 'Manage roles',
    permViewAsset: 'View asset content',
    permImportAsset: 'Import asset',
    permExportAsset: 'Export asset',
    permCreateAsset: 'Create asset',
    permModifyAsset: 'Modify asset info',
    permDeleteAsset: 'Delete asset',
    permUploadDocument: 'Upload document',
    permImportDocument: 'Import document',
    permDeleteDocument: 'Delete document',
    permModifyDocument: 'Modify document info',
    permEditDocument: 'Edit document content',
    permDownloadDocument: 'Download document',
    permViewDataset: 'View dataset details',
    permGenerateDataset: 'Generate dataset',
    permExportDataset: 'Export dataset',
    permDeleteDataset: 'Delete dataset',
    permModifyDataset: 'Modify dataset info',
    permEditDataset: 'Edit dataset content',
    permCreateTesting: 'Create testing',
    permViewTesting: 'View testing',
    permDeleteTesting: 'Delete testing',
    permModifyTesting: 'Modify testing info',
    permDownloadReport: 'Download report',
    permViewTask: 'View evaluation task details',
    // Team permission items
    permModifyRoleInfo: 'Modify role info',
    permDeleteMembers: 'Delete members',
    permModifyMemberRoles: 'Modify member roles',
    permAddRoles: 'Add roles',
    permTransferTeam: 'Transfer team',
    permDissolveTeam: 'Dissolve team',
    // Asset permission items
    permAccessAsset: 'Access asset content',
    // Document permission items
    permAccessDocumentAnalysis: 'Access document analysis results',
    permParseDocument: 'Parse document',
    permBatchUseDocument: 'Enable/disable document',
    permBatchParseDocument: 'Enable/disable document analysis results',
    // Member role editing related
    pleaseSelectRole: 'Please select role',
    confirmChangeRole: 'Confirm Role Change',
    // Invite member related
    addMember: 'Add',
    pendingMembers: 'Pending Members',
    defaultRole: 'member',
    // Dataset permission items
    permAccessDatasetDetails: 'Access dataset details',
    permExportImport: 'Import/export',
    permModifySingleData: 'Modify single data',
    // Testing permission items
    permCreateTest: 'Create test',
    permViewTest: 'View test',
    permDeleteTest: 'Delete test',
    permModifyTest: 'Modify test',
    // NoData
    noPermissionGroups: 'No Permissions Could be Assigned',
    // Role deletion related messages
    systemRoleCannotDelete: 'This role is a system fixed role and cannot be deleted',
    confirmDeleteRole: 'Are you sure to delete role {roleName}?',
  },
  assetLibrary: {
    assetLibrary: 'Asset Libraries',
    assetId: 'Asset ID',
    welcomeUsePro: 'Welcome to WitChainD',
    profile:
      'WitChainD offers efficient document management and intelligent analysis,supporting a variety of file formats including xlsx,pdf,doc,docx,pptx,html,json,yaml,md,zip,jpeg,png and txt.Equipped with an advanced document processing technology and powerful retrieval capabilities of the openEuler Intelligence,WitchainD aims to provide you with an exceptional intelligent Q&A service.',
    message: {
      name: 'Enter an asset libraray name.',
      libraryNameLen: 'The asset library name can contain 1 to 15 characters.',
      categoryInfo: 'Enter a category name.',
      languagePlace: 'Select a language.',
      modelPlace: 'Select a parsing method.',
      analyticMethodPlace: 'Enter a value',
      pleasePlace: 'Enter a value',
      pleaseChoose: 'Select an option',
      assetEditSuccess: 'Asset library information is modified successfully.',
    },
    piece: 'piece ',
    file: 'documents',
    name: 'Asset Library Name',
    desc: 'Description',
    language: 'Language',
    embeddedModel: 'Embedded Model',
    analyticMethod: 'Parsing Method',
    fileChunkSize: 'File Block Size',
    uploadCountLimit: 'Max documents per upload',
    character: 'character',
    configCategory: 'Document Categories',
    fileConfigCategory: 'Document Information Categories',
    supAddCategoris: 'A maximum of 10 document categories can be added.',
    fileNum: 'Document Count',
    fileSize: 'fileSize',
    creator: 'creator',
    uploadTime: 'Create Time',
    importTaskList: 'Task upload list',
    exportTaskList: 'Export Task List',
    uploadIng: 'Uploading',
    uploadFailedNet: 'Upload failed.Check the netwok.',
    fileSuffiexNot: 'The file name extension is not supported.',
    copySuccessFul: 'Copy successful',
    copyFailed: 'Copy failed',
    numberUpperLimit: 'Max documents per upload',
    sizeUpperLimit: 'Max size per upload',
    assetEmptyText: ' Create Asset Libraries',
    assetEmptyDesc: 'No assets.',
    assetFormat: 'The asset ID must be in a valid UUID format.',
  },
  assetFile: {
    docName: 'Document Name',
    category: 'Category',
    chunkSize: 'Chunk Size',
    uploadTime: 'Upload Time',
    analyticStatus: 'Parsing Status',
    parsingMethod: 'Parsing Method',
    parsingComTime: 'Parsing Completion Time',
    analyticTip: 'The document will be re-parsed after the chunk size is changed.',
    contentView: 'Preview',
    baseInfo: 'Basic Information',
    message: {
      name: 'Enter an file name.',
      docNameLen: 'The file name can contain 1 to 15 characters',
    },
    status: {
      analyticIng: 'Parsing',
      analyticWaitIng: 'Parsing waitIng',
      analyticFail: 'Parsing failed',
      cancelAnalytic: 'Parsing canceled',
      analyticSucces: 'Parsing successful',
    },
    open: 'Open',
    close: 'Close',
    generateDataset: 'Generate Dataset',
    documentInfo: 'Document Info',
    log: 'Log',
    contentPlaceholder: 'Enter content',
    placeholderFile: 'Enter a file name',
    generateTip: 'Only documents with "Parsing Successful" status can generate datasets!',
  },
  fileChunk: {
    parag: 'Paragraph',
    table: 'table',
    img: 'Image',
    link: 'link',
    code: 'code',
    qa: 'Q & A pairs',
  },
  dataset: {
    importDataset: 'Import Dataset',
    emptyText: 'Generate the dataset',
    emptyDoc: 'No documents available.',
    emptyDesc: 'No data set information available. Go to the document management and generate one!',
    placeholderDataset: 'Enter a dataset name',
    placeInput: 'Please Input',
    datasetName: 'Dataset Name',
    datasetDesc: 'Description',
    dataCountLimit: 'Data Count Limit',
    datasetNum: 'Dataset Count',
    currentDataCount: 'Current Data Count',
    isDataCleared: 'Is Data Cleaning Required',
    isChunkRelated: 'Is Context Completion Required',
    status: 'Status',
    score: 'Dataset quality score',
    createTime: 'Create Time',
    creator: 'Creator',
    finishedTime: 'Finished Time',
    taskStatus: {
      pending: 'Pending',
      running: 'Running',
      success: 'Successful',
      failed: 'Failed',
      canceled: 'Canceled',
    },
    testing: 'Testing',
    generate: 'Generate',
    stop: 'Stop',
    yes: 'Yes',
    no: 'No',
    baseInfo: 'Basic Information',
    question: 'Question',
    standardAnswer: 'Standard Answer',
    chunk: 'Original Chunk Context',
    chunkType: 'Chunk Type',
    sourceDoc: 'Source Document',
  },
  testing: {
    createTesting: 'Create Testing',
    datasetUsed: 'Dataset Used',
    testingName: 'Testing Name',
    testingDesc: 'Description',
    type: 'Model Type',
    method: 'Search Method',
    placeholderTest: 'Enter a testing name',
    testingStatus: {
      pending: 'Pending',
      running: 'Running',
      success: 'Successful',
      failed: 'Failed',
      canceled: 'Canceled',
    },
    evaluationQuality: 'Evaluation Quality',
    testingScore: 'Comprehensive Score',
    modelAnswer: 'Large Model Answer',
    retrievedSegments: 'Retrieved Segments',
    accurateRate: 'Precision',
    recallRate: 'Recall',
    fidelity: 'Faithfulness',
    interpretability: 'Interpretability',
    longestScore: 'LCSubstr Score',
    editDistanceScore: 'EditDist Score',
    Jaccard: 'Jaccard Index',
    scoreY: 'Score (points)',
    avg: 'Avg ',
    testEmptyText: 'Generate Testing',
    testEmptyDesc: 'No testing information available. Create one now!',
    chartDomNotFound: 'Chart DOM element not found',
  },
  model: {
    pleasePlace: 'Enter a value',
    modelName: 'Model',
    modelConfig: 'Configure Model',
    modelType: 'Model',
    maxToken: 'Maximum Token Limit',
    localModel: 'Local Model',
    onlineModel: 'Online Model',
    repeatTip: 'Do not duplicate configuration',
  },
  btnText: {
    confirm: 'Ok',
    cancel: 'Cancel',
    operation: 'Operation',
    export: 'Export',
    edit: 'Edit',
    delete: 'Delete',
    batchDelete: 'Batch Delete',
    batchExport: 'Batch Export',
    retry: 'Retry',
    restart: 'Restart',
    clearAll: 'Clear all',
    homePage: 'Home Page',
    assetDocList: 'Documents List',
    configInfo: 'Configure Information',
    importFile: 'Import Document',
    editAssetLibrary: 'Edit Asset Library',
    createAssetLibrary: 'Create Asset Library',
    batchImport: 'Import Asset Library',
    batchOps: 'Batch Operation',
    download: 'Download',
    downloadAll: 'Download All',
    downloadChoose: 'Download Selected',
    batchDownload: 'Batch Download',
    downloadReport: 'Download Report',
    all: 'All',
    chooseFile: 'Select File',
    batch: 'Batch',
    enable: 'Enable',
    close: 'Close',
    save: 'Save',
    add: 'Add',
    delAll: 'Delete All',
    batchAnalytic: 'Batch Analytic',
    analytic: 'Analytic',
    selectAll: 'Select All',
    reset: 'reset',
    multiple: 'Multiple Selection',
    cancelMultiple: 'Cancel Multiple Selection',
    checkAll: 'Check All',
    selected: '',
    selectedCount: ' have been selected',
    search: 'Search',
  },
  dialogTipText: {
    importAssetLibrary: 'Import Document',
    tipsText: 'Warining',
    isAddFilr: 'Are you sure you want to add the documents?',
    confirmDelAsset: 'Are you sure you want to delete asset?',
    confirmDelFile: 'Are you sure you want to delete file?',
    confirmDelSelected: 'Are you sure you want to delete selected file?',
    eidtFile: 'Edit Document',
    confirmCancelAnalytic:
      'Are you sure you want to cancel parsing? After you click Ok,parsing will be canceled.Please proceed with caution.',
    fileZipFormat:
      'The file must be in .zip format. A maximum of five asssets with a total size of 5 GB can be uploaded.',
    fileAllFormat:
      'The file can be in .xlsx,.pdf,.doc,.docx,.txt,.pptx,.html,.json,.yaml,.md,.jpeg,.png or .zip format. A maximum of {maxFileNum} files with a total size of {maxSize} can be uploaded.',
    fileDataSetFormat:
      'The file supports import in xlsx, yaml and json formats. Up to 10 files can be uploaded, and each file contains no more than 512 pieces of data.',
    continueAdd: 'You can drag files to the list area below to add more.',
    dragDropAdd: 'Drop files here.',
    dragFile: 'Drop files here.',
    fileName: 'File name',
    fileSize: 'Size',
    singleFileSize: 'The size of a file cannot exceed {size}MB.',
    fileNums: 'File Number',
    fileSizes: 'File Size',
    confirmDelDataset: 'Are you sure to delete the selected dataset?',
    delDataset: 'Are you sure to delete dataset',
    existConfirm:
      'The current dataset already has associated evaluation tasks. Should a new evaluation task be created?',
    confirmDelData: 'Are you sure to delete the selected data?',
    confirmDelSingleData: 'Are you sure to delete this data?',
    stopGenerating:
      'Are you sure to pause generation? Clicking OK will stop generation, so please proceed with caution.',
    stopTesting:
      'Have you decided to suspend it? After clicking "OK", the test will be stopped. Please operate with caution.',
    testDownloadTips:
      'Only evaluation information with "Test Successful" status can be downloaded!',
    consfirmDelTesting: 'Are you sure to delete the selected testing?',
    confirmDelSingleTesting: 'Are you sure to delete the test data',
    confirmDelKL: 'Are you sure to delete the selected asset library?',
  },
  formTipText: {
    analyticTip:
      'Vectorization model for transforming document chunks into vectors. Currently,two options are available:bge-large-en for English text bge-large-zh for Chinese text.',
    fileChunkSizeTip:
      'Chunk size for dividing files after the configuration file is uploaded. The value ranges from 512 to 1024 tokens per chunk. By default, a chunk size of 1024 tokens is used.',
  },
  pageTipText: {
    NoData: 'No data available.',
    systemError: 'System error.',
    Loading: 'Loading',
  },
  uploadText: {
    uploadFailed: 'Upload failed.',
    uploadSuccess: 'Upload successful.',
  },
  exportTask: {
    export: ' export',
    pendingExport: 'Pending export',
    exportFailed: 'Failed',
    exportSuccess: 'Successful',
    reason: 'Reason',
    downloadTask: 'Download Task',
    canceled: 'Canceled',
  },
  opsMessage: {
    opsSuccess: 'Operation successful.',
    opsRestart: 'Operation restarted.',
    opsCancel: 'Operation canceled.',
    delSuccess: 'Deletion successful.',
    opsAnalyticIng: 'AnalyticIng',
    modifSuccess: 'Modification successful.',
  },
  timerSearch: {
    lastHour: 'Last {timer} hour',
  },
  defaultText: {
    kbName: 'Asset Library Name 01',
    datasetName: 'Dataset 01',
    datasetDesc: 'This is a dataset description',
    testingName: 'Test Data 01',
  },
  chunkMethod: {
    chunkSettings: 'Chunk Settings',
    chunkMethod: 'Chunk Method',
    default: 'Default',
    customDelimiter: 'Custom Delimiter',
    chunkIdentifier: 'Chunk Identifier',
    pleaseSelectChunkMethod: 'Please select chunk method',
    pleaseEnterChunkIdentifier: 'Please enter chunk identifier',
  },
  tabs: {
    basicSettings: 'Basic Settings',
    parseSettings: 'Parse Settings',
    retrievalSettings: 'Retrieval Settings',
  },
  vectorization: {
    vectorizationSettings: 'Vectorization Settings',
  },
  copyright: 'Copyright© Huawei Software Technologies Co., Ltd.2024. All rights reserved.',
};
